{extend name="common/base"/}
<!-- 主体 -->
{block name="body"}
<div class="layui-form p-4">
	<h3 class="pb-3">积分商品详情</h3>
	<table class="layui-table layui-table-form">
		<tr><td class="layui-td-gray-2">商品名称</td>
			<td>{$detail.title}</td><td class="layui-td-gray-2">积分</td>
			<td>{$detail.price}</td><td class="layui-td-gray-2">状态</td>
			<td>
				{eq name="$detail.status" value="0"}选项一{/eq}
				{eq name="$detail.status" value="1"}选项二{/eq}
			</td>
		</tr><tr><td class="layui-td-gray-2">兑换量</td>
		<td>{$detail.sales}</td><td class="layui-td-gray-2">是否包邮</td>
		<td>
			{eq name="$detail.is_mail" value="0"}选项一{/eq}
			{eq name="$detail.is_mail" value="1"}选项二{/eq}
		</td><td class="layui-td-gray-2">运费</td>
		<td>{$detail.yun_money}</td>
	</tr><tr><td class="layui-td-gray-2">创建时间</td>
		<td>{$detail.create_time}</td><td colspan='4'></td>
	</tr><tr><td class="layui-td-gray-2">缩略图</td>
		<td colspan="5">
			<img src="{$detail.thumb}" onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;" style="width:200px; max-width:200px" />
		</td>
	</tr><tr><td class="layui-td-gray-2">商品轮播图</td>
		<td colspan="5">
			<img src="{$detail.banner}" onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;" style="width:200px; max-width:200px" />
		</td>
	</tr><tr><td class="layui-td-gray-2">商品详情</td>
		<td colspan="5">
			{$detail.content|raw}
		</td>
	</tr>
	</table>
</div>
{/block}
<!-- /主体 -->